package com.oms.domain;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Massorganization entity. @author MyEclipse Persistence Tools
 */

public class Massorganization implements java.io.Serializable {

	

	/**
	 * 
	 */
	private static final long serialVersionUID = 3880544456344145640L;
	
	// Fields
	private Integer organizationId;
	private College college;
	private User user;
	private Short organizationLeavel;
	private String organizationName;
	private String organizationQqGroup;
	private String organizationTelephone;
	private String organizationEmail;
	private String connectionIllustrate;
	private String organizationHomePageUrl;
	private String organizationIntroduction;
	private Integer organizationConstitution;
	private Short organizationPictureAmount;
	private Integer fatherOrganizationId;
	private String subdivisionTitle;
	private Integer subdivisionNumber;
	private Short organizationState;
	private Short authenticationLeavel;
	private Timestamp foundTime;
	private Timestamp loggingTime;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar1;
	private String expandBar2;
	private Set communeMemberinfos = new HashSet(0);
	private Set organizationattentions = new HashSet(0);
	private Set activities = new HashSet(0);
	private Set massorganizationroles = new HashSet(0);
	private Set organizationnotices = new HashSet(0);
	private Set massorganizationauthorities = new HashSet(0);
	private Set organizationvotes = new HashSet(0);

	// Constructors

	/** default constructor */
	public Massorganization() {
	}

	/** minimal constructor */
	public Massorganization(College college, String organizationName,
			Short organizationPictureAmount, Short organizationState,
			Short authenticationLeavel, Timestamp foundTime,
			Timestamp loggingTime, Boolean deleteTag) {
		this.college = college;
		this.organizationName = organizationName;
		this.organizationPictureAmount = organizationPictureAmount;
		this.organizationState = organizationState;
		this.authenticationLeavel = authenticationLeavel;
		this.foundTime = foundTime;
		this.loggingTime = loggingTime;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public Massorganization(College college, User user,
			Short organizationLeavel, String organizationName,
			String organizationQqGroup, String organizationTelephone,
			String organizationEmail, String connectionIllustrate,
			String organizationHomePageUrl, String organizationIntroduction,
			Integer organizationConstitution, Short organizationPictureAmount,
			Integer fatherOrganizationId, String subdivisionTitle,
			Integer subdivisionNumber, Short organizationState,
			Short authenticationLeavel, Timestamp foundTime,
			Timestamp loggingTime, Timestamp lastUpdateTime, Boolean deleteTag,
			String expandBar1, String expandBar2, Set communeMemberinfos,
			Set organizationattentions, Set activities,
			Set massorganizationroles, Set organizationnotices,
			Set massorganizationauthorities, Set organizationvotes) {
		this.college = college;
		this.user = user;
		this.organizationLeavel = organizationLeavel;
		this.organizationName = organizationName;
		this.organizationQqGroup = organizationQqGroup;
		this.organizationTelephone = organizationTelephone;
		this.organizationEmail = organizationEmail;
		this.connectionIllustrate = connectionIllustrate;
		this.organizationHomePageUrl = organizationHomePageUrl;
		this.organizationIntroduction = organizationIntroduction;
		this.organizationConstitution = organizationConstitution;
		this.organizationPictureAmount = organizationPictureAmount;
		this.fatherOrganizationId = fatherOrganizationId;
		this.subdivisionTitle = subdivisionTitle;
		this.subdivisionNumber = subdivisionNumber;
		this.organizationState = organizationState;
		this.authenticationLeavel = authenticationLeavel;
		this.foundTime = foundTime;
		this.loggingTime = loggingTime;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar1 = expandBar1;
		this.expandBar2 = expandBar2;
		this.communeMemberinfos = communeMemberinfos;
		this.organizationattentions = organizationattentions;
		this.activities = activities;
		this.massorganizationroles = massorganizationroles;
		this.organizationnotices = organizationnotices;
		this.massorganizationauthorities = massorganizationauthorities;
		this.organizationvotes = organizationvotes;
	}

	// Property accessors

	public Integer getOrganizationId() {
		return this.organizationId;
	}

	public void setOrganizationId(Integer organizationId) {
		this.organizationId = organizationId;
	}

	public College getCollege() {
		return this.college;
	}

	public void setCollege(College college) {
		this.college = college;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Short getOrganizationLeavel() {
		return this.organizationLeavel;
	}

	public void setOrganizationLeavel(Short organizationLeavel) {
		this.organizationLeavel = organizationLeavel;
	}

	public String getOrganizationName() {
		return this.organizationName;
	}

	public void setOrganizationName(String organizationName) {
		this.organizationName = organizationName;
	}

	public String getOrganizationQqGroup() {
		return this.organizationQqGroup;
	}

	public void setOrganizationQqGroup(String organizationQqGroup) {
		this.organizationQqGroup = organizationQqGroup;
	}

	public String getOrganizationTelephone() {
		return this.organizationTelephone;
	}

	public void setOrganizationTelephone(String organizationTelephone) {
		this.organizationTelephone = organizationTelephone;
	}

	public String getOrganizationEmail() {
		return this.organizationEmail;
	}

	public void setOrganizationEmail(String organizationEmail) {
		this.organizationEmail = organizationEmail;
	}

	public String getConnectionIllustrate() {
		return this.connectionIllustrate;
	}

	public void setConnectionIllustrate(String connectionIllustrate) {
		this.connectionIllustrate = connectionIllustrate;
	}

	public String getOrganizationHomePageUrl() {
		return this.organizationHomePageUrl;
	}

	public void setOrganizationHomePageUrl(String organizationHomePageUrl) {
		this.organizationHomePageUrl = organizationHomePageUrl;
	}

	public String getOrganizationIntroduction() {
		return this.organizationIntroduction;
	}

	public void setOrganizationIntroduction(String organizationIntroduction) {
		this.organizationIntroduction = organizationIntroduction;
	}

	public Integer getOrganizationConstitution() {
		return this.organizationConstitution;
	}

	public void setOrganizationConstitution(Integer organizationConstitution) {
		this.organizationConstitution = organizationConstitution;
	}

	public Short getOrganizationPictureAmount() {
		return this.organizationPictureAmount;
	}

	public void setOrganizationPictureAmount(Short organizationPictureAmount) {
		this.organizationPictureAmount = organizationPictureAmount;
	}

	public Integer getFatherOrganizationId() {
		return this.fatherOrganizationId;
	}

	public void setFatherOrganizationId(Integer fatherOrganizationId) {
		this.fatherOrganizationId = fatherOrganizationId;
	}

	public String getSubdivisionTitle() {
		return this.subdivisionTitle;
	}

	public void setSubdivisionTitle(String subdivisionTitle) {
		this.subdivisionTitle = subdivisionTitle;
	}

	public Integer getSubdivisionNumber() {
		return this.subdivisionNumber;
	}

	public void setSubdivisionNumber(Integer subdivisionNumber) {
		this.subdivisionNumber = subdivisionNumber;
	}

	public Short getOrganizationState() {
		return this.organizationState;
	}

	public void setOrganizationState(Short organizationState) {
		this.organizationState = organizationState;
	}

	public Short getAuthenticationLeavel() {
		return this.authenticationLeavel;
	}

	public void setAuthenticationLeavel(Short authenticationLeavel) {
		this.authenticationLeavel = authenticationLeavel;
	}

	public Timestamp getFoundTime() {
		return this.foundTime;
	}

	public void setFoundTime(Timestamp foundTime) {
		this.foundTime = foundTime;
	}

	public Timestamp getLoggingTime() {
		return this.loggingTime;
	}

	public void setLoggingTime(Timestamp loggingTime) {
		this.loggingTime = loggingTime;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

	public Set getCommuneMemberinfos() {
		return this.communeMemberinfos;
	}

	public void setCommuneMemberinfos(Set communeMemberinfos) {
		this.communeMemberinfos = communeMemberinfos;
	}

	public Set getOrganizationattentions() {
		return this.organizationattentions;
	}

	public void setOrganizationattentions(Set organizationattentions) {
		this.organizationattentions = organizationattentions;
	}

	public Set getActivities() {
		return this.activities;
	}

	public void setActivities(Set activities) {
		this.activities = activities;
	}

	public Set getMassorganizationroles() {
		return this.massorganizationroles;
	}

	public void setMassorganizationroles(Set massorganizationroles) {
		this.massorganizationroles = massorganizationroles;
	}

	public Set getOrganizationnotices() {
		return this.organizationnotices;
	}

	public void setOrganizationnotices(Set organizationnotices) {
		this.organizationnotices = organizationnotices;
	}

	public Set getMassorganizationauthorities() {
		return this.massorganizationauthorities;
	}

	public void setMassorganizationauthorities(Set massorganizationauthorities) {
		this.massorganizationauthorities = massorganizationauthorities;
	}

	public Set getOrganizationvotes() {
		return this.organizationvotes;
	}

	public void setOrganizationvotes(Set organizationvotes) {
		this.organizationvotes = organizationvotes;
	}

}